$view: (
  bg-color: getCssVar(color, bg, 1),
  border-radius: getCssVar(border-radius, medium),
);

// 视图默认撑满父容器
@include b(view) {
  @include set-component-css-var(view, $view);

  width: 100%;
  height: 100%;

  .#{bem(view)} {
    background-color: getCssVar(view, bg-color);
    border-radius: getCssVar(view, border-radius);
  }
}
